The resource type for an assembled color-picking routine is 'cpmt' . It must have a resource ID greater than 127. The resource data is the assembled code of the routine. See "Application-Defined Routines," for information about creating a color-picking method resource.